package com.cneport.transfer.util;

import java.util.UUID;

/**
 * @author wudi
 * 主键生成类
 */
public class IdGenerate {
	/**
	 * @Name:searchBusEntryPassedUndeal
	 * @Description:生成UUID主键
	 * @Author:陈乐佳
	 * @Version:V1.0
	 * @Create Date:2011-12-1
	 * @Paramters:空
	 * @return id主键
	 */
    public static String getUUIDString(){
    	String id=UUID.randomUUID().toString(); //调用UUID类的生成UUID方法
    	id=id.replace("-", ""); //替换掉UUID中的“_”
    	return id; //返回生成的UUID
    }
}
